package top.aicats.pattern.decoratorAndObserver.decorator;

public class BaseChargesDecorator extends BaseCharges {

    private Charges baseCharges;
    public BaseChargesDecorator(Charges baseCharges) {
        this.baseCharges = baseCharges;
    }

    @Override
    public int getCost() {
        return this.baseCharges.getCost();
    }

    @Override
    public String getMsg() {
        return this.baseCharges.getMsg();
    }
}
